package com.atguigu.java12;

public class SwitchTest {
    public static void main(String[] args) {
        int month = 3;
        switch (month) {
            case 3,4,5 -> System.out.println("spring");
            case 6,7,8 -> System.out.println("spring");
            case 9,10,11 -> System.out.println("spring");
            case 12,1,2 -> System.out.println("spring");
            default -> System.out.println("default");
        }
    }
}
